<?php
namespace app\index\controller;
use think\Controller;

class Index extends Controller
{
	// 聊天页面
    public function index()
    {
    	$fromid = input("fromid");
    	$toid = input("toid");
    	$this->assign('fromid',$fromid);
    	$this->assign('toid',$toid);
        return $this->fetch();
    }

    // 某个人的聊天列表
    public function lists(){
    	$this->assign('fromid',input('fromid'));
    	return $this->fetch();
    }
}
